
kernel/printk.o：     文件格式 elf32-i386
kernel/printk.o
体系结构：i386， 标志 0x00000011：
HAS_RELOC, HAS_SYMS
起始地址 0x00000000

节：
Idx Name          Size      VMA       LMA       File off  Algn
  0 .group        00000008  00000000  00000000  00000034  2**2
                  CONTENTS, READONLY, GROUP, LINK_ONCE_DISCARD
  1 .text         00000075  00000000  00000000  0000003c  2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  2 .data         00000000  00000000  00000000  000000b1  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  3 .bss          00000400  00000000  00000000  000000c0  2**5
                  ALLOC
  4 .text.__x86.get_pc_thunk.bx 00000004  00000000  00000000  000000c0  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  5 .comment      00000025  00000000  00000000  000000c4  2**0
                  CONTENTS, READONLY
  6 .note.GNU-stack 00000000  00000000  00000000  000000e9  2**0
                  CONTENTS, READONLY
  7 .note.gnu.property 0000001c  00000000  00000000  000000ec  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .eh_frame     0000008c  00000000  00000000  00000108  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
SYMBOL TABLE:
00000000 l    df *ABS*	00000000 printk.c
00000000 l    d  .text	00000000 .text
00000000 l    d  .data	00000000 .data
00000000 l    d  .bss	00000000 .bss
00000000 l     O .bss	00000400 buf
00000000 l    d  .text.__x86.get_pc_thunk.bx	00000000 .text.__x86.get_pc_thunk.bx
00000000 l    d  .note.GNU-stack	00000000 .note.GNU-stack
00000000 l    d  .note.gnu.property	00000000 .note.gnu.property
00000000 l    d  .eh_frame	00000000 .eh_frame
00000000 l    d  .comment	00000000 .comment
00000000 l    d  .group	00000000 .group
00000000 g     F .text	00000037 vsprintf
00000037 g     F .text	0000003e printk
00000000 g     F .text.__x86.get_pc_thunk.bx	00000000 .hidden __x86.get_pc_thunk.bx
00000000         *UND*	00000000 _GLOBAL_OFFSET_TABLE_
00000000         *UND*	00000000 tty_write


Contents of section .group:
 0000 01000000 06000000                    ........        
Contents of section .text:
 0000 f30f1efb 538b5c24 088b4c24 0c0fb611  ....S.\$..L$....
 0010 84d2741a 89d8eb0f 88108d40 0183c101  ..t........@....
 0020 0fb61184 d2740980 fa2574f1 ebea89d8  .....t...%t.....
 0030 c6000029 d85bc3f3 0f1efb57 5653e8fc  ...).[.....WVS..
 0040 ffffff81 c3020000 008d4424 1450ff74  ..........D$.P.t
 0050 24148dbb 00000000 57e8fcff ffff89c6  $.......W.......
 0060 83ec0850 576a00e8 fcffffff 83c42089  ...PWj........ .
 0070 f05b5e5f c3                          .[^_.           
Contents of section .text.__x86.get_pc_thunk.bx:
 0000 8b1c24c3                             ..$.            
Contents of section .comment:
 0000 00474343 3a202855 62756e74 7520392e  .GCC: (Ubuntu 9.
 0010 332e302d 31307562 756e7475 32292039  3.0-10ubuntu2) 9
 0020 2e332e30 00                          .3.0.           
Contents of section .note.gnu.property:
 0000 04000000 0c000000 05000000 474e5500  ............GNU.
 0010 020000c0 04000000 03000000           ............    
Contents of section .eh_frame:
 0000 14000000 00000000 017a5200 017c0801  .........zR..|..
 0010 1b0c0404 88010000 18000000 1c000000  ................
 0020 00000000 37000000 00450e08 830271c3  ....7....E....q.
 0030 0e040000 40000000 38000000 37000000  ....@...8...7...
 0040 3e000000 00450e08 8702410e 0c860341  >....E....A....A
 0050 0e108304 500e1444 0e18470e 1c4a0e24  ....P..D..G..J.$
 0060 410e2841 0e2c420e 30480e10 43c30e0c  A.(A.,B.0H..C...
 0070 41c60e08 41c70e04 10000000 7c000000  A...A.......|...
 0080 00000000 04000000 00000000           ............    

Disassembly of section .text:

00000000 <vsprintf>:
   0:	f3 0f 1e fb          	endbr32 
   4:	53                   	push   %ebx
   5:	8b 5c 24 08          	mov    0x8(%esp),%ebx
   9:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
   d:	0f b6 11             	movzbl (%ecx),%edx
  10:	84 d2                	test   %dl,%dl
  12:	74 1a                	je     2e <vsprintf+0x2e>
  14:	89 d8                	mov    %ebx,%eax
  16:	eb 0f                	jmp    27 <vsprintf+0x27>
  18:	88 10                	mov    %dl,(%eax)
  1a:	8d 40 01             	lea    0x1(%eax),%eax
  1d:	83 c1 01             	add    $0x1,%ecx
  20:	0f b6 11             	movzbl (%ecx),%edx
  23:	84 d2                	test   %dl,%dl
  25:	74 09                	je     30 <vsprintf+0x30>
  27:	80 fa 25             	cmp    $0x25,%dl
  2a:	74 f1                	je     1d <vsprintf+0x1d>
  2c:	eb ea                	jmp    18 <vsprintf+0x18>
  2e:	89 d8                	mov    %ebx,%eax
  30:	c6 00 00             	movb   $0x0,(%eax)
  33:	29 d8                	sub    %ebx,%eax
  35:	5b                   	pop    %ebx
  36:	c3                   	ret    

00000037 <printk>:
  37:	f3 0f 1e fb          	endbr32 
  3b:	57                   	push   %edi
  3c:	56                   	push   %esi
  3d:	53                   	push   %ebx
  3e:	e8 fc ff ff ff       	call   3f <printk+0x8>
			3f: R_386_PC32	__x86.get_pc_thunk.bx
  43:	81 c3 02 00 00 00    	add    $0x2,%ebx
			45: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  49:	8d 44 24 14          	lea    0x14(%esp),%eax
  4d:	50                   	push   %eax
  4e:	ff 74 24 14          	pushl  0x14(%esp)
  52:	8d bb 00 00 00 00    	lea    0x0(%ebx),%edi
			54: R_386_GOTOFF	.bss
  58:	57                   	push   %edi
  59:	e8 fc ff ff ff       	call   5a <printk+0x23>
			5a: R_386_PC32	vsprintf
  5e:	89 c6                	mov    %eax,%esi
  60:	83 ec 08             	sub    $0x8,%esp
  63:	50                   	push   %eax
  64:	57                   	push   %edi
  65:	6a 00                	push   $0x0
  67:	e8 fc ff ff ff       	call   68 <printk+0x31>
			68: R_386_PLT32	tty_write
  6c:	83 c4 20             	add    $0x20,%esp
  6f:	89 f0                	mov    %esi,%eax
  71:	5b                   	pop    %ebx
  72:	5e                   	pop    %esi
  73:	5f                   	pop    %edi
  74:	c3                   	ret    

Disassembly of section .text.__x86.get_pc_thunk.bx:

00000000 <__x86.get_pc_thunk.bx>:
   0:	8b 1c 24             	mov    (%esp),%ebx
   3:	c3                   	ret    
